//
// Created by hgx on 2021/12/17.
//

#ifndef UNTITLED_TRANSFORM_H
#define UNTITLED_TRANSFORM_H
#include <glm/glm.hpp>


namespace Component
{
    struct Transform {
        float3 position;
        float3 rotation;
        float3 scale;

        [[NotView,NotSerialize]]
        bool hasChanged;
        [[NoView,NotSerialize]]
        mat4 localToWorld;
        [[NoView,NotSerialize]]
        mat4 worldToLocal;

    };
}

#include"Transform.h.inl"
#endif //UNTITLED_TRANSFORM_H
